<?php

	class FavoriteFood {
		private $id;
		private $name;
		private $calories;
		private $fat;
		private $fiber;
		private $points;
		private $servingSize;
		private $foodFavServingSize;
		private $mealTime;
		private $quickAddId;
		private $dateCreated;
		private $dateModified;
		private $createdBy;
		private $type;

		/*These functions give public access through any of the private member variables of this object*/
		public function __get($value){
			return $this->$value;
		}

		public function __set($var, $value){
			$this->$var = $value;
		}

		/*public function sqlIsFavorites(){
			$result = empty($this->isFavorites) ? 0 : $this->isFavorites;
			if($result == 'true'){
				return "1";
			}else{
				return "0";
			}
		}

		public function sqlIsQuickAdd(){
			$result = empty($this->isQuickAdd) ? 0 : $this->isQuickAdd;
			if($result == 'true'){
				return "1";
			}else{
				return "0";
			}
		}*/
	}
?>